<div class="chucvuas view">
<h2><?php  __('Chucvua');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $chucvua['Chucvua']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Chucvu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $chucvua['Chucvua']['chucvu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa chức vụ', true), array('action' => 'edit', $chucvua['Chucvua']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa chức vụ', true), array('action' => 'delete', $chucvua['Chucvua']['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $chucvua['Chucvua']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh mục chức vụ', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm chức vụ', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách sinh viên chức vụ', true), array('controller' => 'svcvs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm mới sinh viên chức vụ', true), array('controller' => 'svcvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Svcvs');?></h3>
	<?php if (!empty($chucvua['Svcv'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $chucvua['Svcv']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Chucvua Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $chucvua['Svcv']['chucvua_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sinhvien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $chucvua['Svcv']['sinhvien_id'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa sinh viên chức vụ', true), array('controller' => 'svcvs', 'action' => 'edit', $chucvua['Svcv']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Svcvs');?></h3>
	<?php if (!empty($chucvua['Svcv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Chucvua Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th class="actions"><?php __('Thao tác');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($chucvua['Svcv'] as $svcv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $svcv['id'];?></td>
			<td><?php echo $svcv['chucvua_id'];?></td>
			<td><?php echo $svcv['sinhvien_id'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'svcvs', 'action' => 'view', $svcv['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'svcvs', 'action' => 'edit', $svcv['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'svcvs', 'action' => 'delete', $svcv['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $svcv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm sinh viên chức vụ', true), array('controller' => 'svcvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
